import { App } from 'vue';

import tab from './tab'
import auth from './auth'
import modal from './modal'

export default function installPlugin(app: App) {
  // 页签操作
  app.config.globalProperties.$tab = tab;
  // 弹框操作
  app.config.globalProperties.$modal = modal;
  // 权限操作
  app.config.globalProperties.$auth = auth;
}
